package com.neusoft.ysu.npms.mapper;

import com.neusoft.ysu.npms.pojo.Firstrisk;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.neusoft.ysu.npms.pojo.Risk;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author 作者：刘金秋
 * @since 2024-06-18
 */
@Mapper
public interface FirstriskMapper extends BaseMapper<Firstrisk> {
    Integer add(Firstrisk firstrisk);
    Integer deleteFrisk(Firstrisk firstrisk);
    Integer updateFrisk(Firstrisk firstrisk);
    List<Firstrisk> selectAll();
    Firstrisk findById(Firstrisk firstrisk);
    @Select("select * from firstrisk")
    Firstrisk select();
}
